package dsk.demo.miaosha.demo.vo;

import dsk.demo.miaosha.demo.validator.IsMobile;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NonNull;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;

@Data
@ToString
@AllArgsConstructor
public class LoginVo {
    @NonNull
    @IsMobile
    private String mobile;

    @NonNull
    @Length(min = 32)
    private String password;
}
